package com.hj.system.controller;

import com.hj.system.entity.query.QueryUserEntity;
import com.hj.system.mapper.UserMapper;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Controller
@RequestMapping("/sys")
@Slf4j
public class IndexController {

    @Autowired
    private UserMapper userMapper;


    @GetMapping("/login")
    public String login(Model model) {
        log.info("login");
        return "login";
    }






}
